package com.lai.qq.admin.biz.res;

public enum ResultEnums {
 
    SUCCESS(1000, "请求成功"),
    ERROR(10001, "请求失败"),
    SYSTEM_ERROR(1001, "系统异常"),
    BUSSINESS_ERROR(2001, "业务逻辑错误"),
    PARAM_ERROR(3002, "业务参数错误");
 
    private Integer code;
    private String msg;
 
    ResultEnums(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}